import { IsNotEmpty, IsString, MaxLength } from "class-validator";

export class CreateRoleDto {
    // 角色名称
    @IsNotEmpty()
    @IsString()
    name: string

    // 描述
    @IsString()
    @MaxLength(255)
    description: string
}
